package exam.test.mapper;

import exam.test.Pojo.SpeakerStatus;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface SpeakerStatusMapper {
    void insertStatus(@Param("param") SpeakerStatus status);

    // 查询历史数据的方法，可以根据需要调整查询条件
    List<SpeakerStatus> getHistoryBySpeakerId(@Param("speakerId") Integer speakerId);
}